package com.API.dal.providers;

import com.API.dal.entities.*;

import java.util.List;

/**
 * интерфейс под управление проектами
 */
public interface ProjectProvider {

    void addProject(Objects project);
    void updateProject(Objects project);
    void addProjectCustomer(ProjectCustomerId projectCustomerId,
                            Objects project, Objects customer);
    void addProjectCost(ProjectsCosts projectsCosts);
    List<Objects> getProjects();
    ProjectCustomer getProjectData(int project_id);
    ProjectCustomer getProjectData(String project_name);
    Objects getProjectCustomer(int project_id);
    Objects getProjectCustomer(String project_name);
    List<Incomes> getProjectIncomes(int project_id);
    List<Incomes> getProjectIncomes(String project_name);
    List<Orders>  getProjectOrders(int project_id);
    List<Orders>  getProjectOrders(String project_name);
    Objects getProjectById(int project_id);
    Objects getProjectByName(String project_name);
    List<Equipments> getProjectMaterials(int project_id);
    List<Equipments> getProjectMechanisms(int project_id);
    List<EquipmentsProjects> getEquipmentTotal(int project_id, int equipment_id);






}
